package top.tangyh.lamp.care.vo.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@Schema(description = "通用项目配置查询参数")
public class GenItemQueryParam extends BaseQueryParam implements Serializable {
	private static final long serialVersionUID = -14173597645460502L;

	@Schema(description ="系统主键")
	private Long id;

	@Schema(description ="是否逻辑删除 0-否，1-是，默认是0")
	private Integer isDeleted;

	@Schema(description ="模块编号")
	private String modelCode;

	@Schema(description ="项目编码")
	private String itemCode;

	@Schema(description ="项目名称,说明:模板查询")
	private String itemName;

	@Schema(description ="是否全局，说明： 0否1是，默认0")
	private Integer isSys;

	@Schema(description ="病人识别号,说明：全局时 其值为null")
	private String patientIdent;

	@Schema(description ="病人住院号")
	private String hospitalNumber;

	@Schema(description ="是否可见 0-否，1-是，默认是1")
	private Integer isVisible;

	@Schema(description ="模块编号列表，说明：英文逗号分割开",hidden = true)
	private List<String> modelCodeList;


	public GenItemQueryParam() {
	}

	public GenItemQueryParam(String modelCode, String patientIdent, Integer isDeleted) {
		this.modelCode = modelCode;
		this.patientIdent = patientIdent;
		this.isDeleted=isDeleted;
	}

	public GenItemQueryParam(String modelCode, Integer isSys, Integer isDeleted) {
		this.modelCode = modelCode;
		this.isSys = isSys;
		this.isDeleted=isDeleted;
	}
}